$f: 19.2;

.home {
  position: relative;
  width: 100%;

  .main {
    margin: 220/$f+vw 200/$f+vw  80/$f+vw 200/$f+vw;

    .links {
      display: flex;

      a,
      p,
      span {
        color: #B8B8B8;
        font-size: 24/$f+vw;
        text-transform: uppercase;
      }

      a {
        transition: all 600ms;

        &:hover {
          color: #E60012;
        }
      }

      span {
        margin: 0 1vw;
      }
    }

    .box {
      margin: 3vw 18%;

      .t1 {
        color: #E60012;
        font-size: 25/$f+vw;
      }

      .t2 {
        color: #000;
        font-size: 40/$f+vw;
        padding: 1vw 0;
        border-bottom: 1px solid #EEE;
      }

      .time {
        color: #888;
        font-size: 16/$f+vw;
        font-weight: 300;
        margin-top: .6vw;
      }

      .html {
        color: #000;
        font-size: 16/$f+vw;
        font-weight: 300;
        line-height: 1.8;
        margin: 1.5vw 0;

        img {
          max-width: 100%;
        }
      }
    }

    .pager {
      border-top: 1px solid #C5C5C5;
      padding: 3vw 0;
      display: flex;
      justify-content: space-between;

      .prev {
        display: flex;
        width: 40%;
        align-items: center;
        .btn {
          display: flex;
          align-items: center;

          svg {
            width: 33/$f+vw;
            display: block;
          }

          p {
            color: #E60012;
            font-size: 20/$f+vw;
            font-weight: 700;
            margin-left: 0.5vw;
          }
        }

        .pt {
          color: #000;
          font-size: 20/$f+vw;
          margin-left: 2vw;
          transition: all 600ms;
          &:hover{
            color:#E60012;
          }
        }
      }

      .back {
        background: #E60012;
        display: flex;
        align-items: center;
        padding: 1vw  2.5vw;
        border-radius: 50px;
        img{
          display: block;
          width: 18/$f+vw;
        }
        p{
          color:white;
          font-size: 20/$f+vw;
          font-weight: 700;
          margin-left: 1vw;
          transform: translateY(2px);
        }
      }

      .next {
        display: flex;
        align-items: center;
        width: 40%;
        justify-content: flex-end;
        .btn {
          display: flex;
          align-items: center;

          svg {
            width: 33/$f+vw;
            display: block;
          }

          p {
            color: #E60012;
            font-size: 20/$f+vw;
            font-weight: 700;
            margin-right: 0.5vw;
          }
        }

        .pt {
          color: #000;
          font-size: 20/$f+vw;
          margin-right: 2vw;
          transition: all 600ms;
          &:hover{
            color:#E60012;
          }
        }
      }
    }
  }

  @media screen and (max-width: 1024px) {
    padding-top: 100px;
    .main{
      margin: 0 5%;
      .links{
        a,p,span{
          font-size: 16px;
        }
      }
      .box{
        margin: 30px 0;
        .t1{
          font-size: 18px;
        }
        .t2{
          font-size: 20px;
          padding: 10px 0;
        }
        .time{
          font-size: 14px;
          margin-top: 10px;
        }
        .html{
          font-size: 14px;
          margin: 20px 0;
        }
      }
      .pager{
        padding: 20px 0;
        flex-direction: column;
        .prev{
          width: 100%;
          .btn{
            svg{
              width: 15px;
            }
            p{
              font-size: 16px;
              margin-left: 10px;
            }
          }
          .pt{
            font-size: 16px;
            margin-left: 15px;
            overflow: hidden;
            white-space: nowrap;
            text-overflow: ellipsis;
          }
        }
        .back{
          justify-content: center;
          padding: 15px 0;
          img{
            width: auto;
          }
          p{
            font-size: 18px;
            margin-left: 10px;
          }
        }
        .next{
          justify-content: flex-end;
          width: 100%;
          .btn{
            svg{
              width: 15px;
            }
            p{
              font-size: 16px;
              margin-right: 10px;
            }
          }
          .pt{
            font-size: 16px;
            margin-right: 15px;
            overflow: hidden;
            white-space: nowrap;
            text-overflow: ellipsis;
          }
        }
      }
    }
  }
}